﻿using System;
using System.Collections.Generic;
using System.Text;

namespace MatchCore
{
    public class Config
    {
        public static readonly int GAME_PER_SEC_FRAME_NUM = 30;  // 每秒帧数

        public static readonly int GAME_TICK = 1000 / GAME_PER_SEC_FRAME_NUM;     // 每帧毫秒数

        public static readonly Vector2 SCENE_SIZE = new Vector2(858,464);  // 场景大小

        public static readonly int BULLET_NORMAL_SPEED = (int)((SCENE_SIZE.x / 2.0f) / GAME_PER_SEC_FRAME_NUM);  //子弹速度 单位:(逻辑距离/每帧)

        public static readonly int BULLET_DEFAULT_DAMAGE = 20;  // 子弹默认伤害值

        public static readonly Vector2 PLAYER_SIZE = new Vector2(100, 100);  // 战机大小

        public static readonly int PLAYER_BLOOD_NUM = 100;  // 玩家血量

        public static readonly int PLAYER_MOVE_SPEED = (int)((SCENE_SIZE.y / 2.0f) / GAME_PER_SEC_FRAME_NUM); // 玩家移动速度: 单位:(逻辑距离/每帧)

        public static readonly int GAME_PREPARE_FRAME_ID = 5 * GAME_PER_SEC_FRAME_NUM; //开始时的准备帧,过了此帧数后能操作
    }
}
